Carbon supports the Menu Manager, with the following changes:
* Your application must use the functions defined by the Menu Manager whenever it creates and disposes of Menu Manager data structures. Some applications, for example, create menus by using the Resource Manager function GetResource (instead of the Menu Manager function GetMenu) and dispose of them by calling ReleaseResource instead of DisposeMenu. This practice is not supported in Carbon.
* The MenuInfo structure is opaque in Carbon. You must revise your application so that it accesses Menu Manager data structures only through accessor functions.
* There are several Menu Manager functions that deal with manipulating menu color information tables. Apple recommends that you stop using them. The Appearance Manager generally disregards these color tables and instead uses the colors defined for the current appearance.
* You are strongly encouraged to adopt the standard Mac OS 8 menu definition procedures (also known as MDEFs) in your application. Your menus will then inherit the systemwide appearance and, furthermore, take advantage of other Menu Manager enhancements planned for the future. Note, however, that if you must use custom menu definition procedures, you must compile them as PowerPC-native code.
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Use AppendMenu instead. Not available in Carbon.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.
AppendMenuItemTextWithCFString
Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.The menu bar is not customizable in Carbon.Use InvokeMenuDefUPP instead.
Note that Apple discourages you from writing and using your own menu definition functions and encourages you to use the system-supplied menu definition function instead. New features that have previously been missing are now available in the system-supplied menu definition function. Since Appearance Manager 1.0 (in Mac OS 8.0), for example, the system-supplied menu definition function has supported extended menu item command key modifiers and glyphs. And in Carbon, the system-supplied menu definition function supports dynamic items, which allow the contents of a menu item to be redrawn while the menu is displayed in response to the user pressing a modifier key on the keyboard.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
ChangeMenuItemPropertyAttributes
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.You should instead use CheckMenuItem. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.You should instead use CountMenuItems. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.DeleteMCEntries does nothing, because the Appearance Manager doesn't use color tables. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Replaced by DisableMenuItem. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Note that the implementation of Carbon on Mac OS 8.1 only supports disabling menu items less than or equal to 31. Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.DisposeMCInfo does nothing, because Appearance Manager doesn't use color tables. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.The menu bar is not customizable in Carbon.Apple discourages you from writing and using your own menu definition functions and encourages you to use the system-supplied menu definition function instead. New features that have previously been missing are now available in the system-supplied menu definition function. Since Appearance Manager 1.0 (in Mac OS 8.0), for example, the system-supplied menu definition function has supported extended menu item command key modifiers and glyphs. And in Carbon, the system-supplied menu definition function supports dynamic items, which allow the contents of a menu item to be redrawn while the menu is displayed in response to the user pressing a modifier key on the keyboard. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Replaced by EnableMenuItem. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
GetFontFamilyFromMenuSelection
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.GetMCEntry does nothing, because Appearance Manager doesn't use color tables. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.GetMCInfo does nothing, because Appearance Manager doesn't use color tables. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.You should instead inspect the kMenuExcludesMarkColumn menu attribute using the GetMenuAttributes function. Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.To associate data with a menu item you should instead use the Get/SetMenuItemProperty functions available with the Mac OS 8.5 Menu Manager. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Use GetMenuItemText instead. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.InitMenus is not supported in Carbon. There is no need to initialize the Menu Manager because the shared library is loaded as needed. Not available in Carbon.You must use the standard menu bar definition function (MBDF). Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Use InsertMenuItem instead. Not available in Carbon.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.
InsertMenuItemTextWithCFString
Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.The menu bar is not customizable in Carbon.Apple discourages you from writing and using your own menu definition functions and encourages you to use the system-supplied menu definition function instead. New features that have previously been missing are now available in the system-supplied menu definition function. Since Appearance Manager 1.0 (in Mac OS 8.0), for example, the system-supplied menu definition function has supported extended menu item command key modifiers and glyphs. And in Carbon, the system-supplied menu definition function supports dynamic items, which allow the contents of a menu item to be redrawn while the menu is displayed in response to the user pressing a modifier key on the keyboard. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.The menu bar is not customizable in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Use MenuSelect instead. Not available in Carbon.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Use NewMenu instead. Not available in Carbon.The menu bar is not customizable in Carbon.The menu bar is not customizable in Carbon.Use NewMenuDefUPP instead.
Note that Apple discourages you from writing and using your own menu definition functions and encourages you to use the system-supplied menu definition function instead. New features that have previously been missing are now available in the system-supplied menu definition function. Since Appearance Manager 1.0 (in Mac OS 8.0), for example, the system-supplied menu definition function has supported extended menu item command key modifiers and glyphs. And in Carbon, the system-supplied menu definition function supports dynamic items, which allow the contents of a menu item to be redrawn while the menu is displayed in response to the user pressing a modifier key on the keyboard.Apple discourages you from writing and using your own menu definition functions and encourages you to use the system-supplied menu definition function instead. New features that have previously been missing are now available in the system-supplied menu definition function. Since Appearance Manager 1.0 (in Mac OS 8.0), for example, the system-supplied menu definition function has supported extended menu item command key modifiers and glyphs. And in Carbon, the system-supplied menu definition function supports dynamic items, which allow the contents of a menu item to be redrawn while the menu is displayed in response to the user pressing a modifier key on the keyboard. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Accessing the MenuHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu events instead.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.SetMCEntries does nothing, because Appearance Manager doesn't use color tables. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.SetMCInfo does nothing, because Appearance Manager doesn't use color tables. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.You should instead set the kMenuExcludesMarkColumn menu attribute using the SetMenuAttributes function. Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.In the future, the Appearance Manager may control menu-flashing behavior. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.To associate data with a menu item in Carbon, you should instead use the Get/SetMenuItemProperty functions. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Use SetMenuItemText instead. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.Carbon does not support desk accessories. Not available in Carbon.Carbon does not support desk accessories. Not available in Carbon.Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.